using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public delegate void RunAfterDialogueFun();
public delegate bool CheckDialogueFun();
public static class DialogueFuns
{
    private static int NPC1times = 0;

    public static Dictionary<string, RunAfterDialogueFun> afterFuns = new Dictionary<string, RunAfterDialogueFun>()
    {
        [""] = () => { },
        ["NPC1"] = () => { NPC1times++;Debug.Log(NPC1times); },
    };
    public static Dictionary<string, CheckDialogueFun> checkFuns = new Dictionary<string, CheckDialogueFun>()
    {
        [""] = () => true,
        ["NPC1.first"] = () => NPC1times == 0,
        ["NPC1.second"] = () => NPC1times == 1,
        ["NPC1.more"] = () => NPC1times >= 2,
    };
}
